from Utils.router import router
from Utils.zj import timeklpk, shopmoney


@router.get('/zj/klpk')  #
async def get_klpk():
    data = timeklpk.get_kl_trend()
    insum = data[1]
    outsum = data[2]
    day = shopmoney.days_cur_month()
    return {'day': day, 'insum': insum, 'outsum': outsum}
